package xyz.molzhao.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import xyz.molzhao.domain.User;
import xyz.molzhao.mapper.UserMapper;
import xyz.molzhao.service.IUserService;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 11
 * @since 2021-08-05
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {

    @Override
    public User selectById(Long id) {
        return getBaseMapper().selectById(id);
    }

    @Override
    public User selectByMobile(String mobile) {
        return getBaseMapper().selectByMobile(mobile);
    }
}
